/*
 * @Description: Vuex的公共类型定义
 * @Author: LDM
 * @Date: 2021-09-04 12:03:41
 * @LastEditors: LDM
 * @LastEditTime: 2021-09-07 15:56:46
 */
import type { RootState } from './index'
import type { Module } from 'vuex'
import type { UserState } from './modules/user'

export type VuexModule<T> = Module<T, AllModuleTypes>

export interface AllModuleTypes extends RootState {
  user: UserState
}
